#!/bin/sh/env python
import fileinput
 
input=fileinput.input("./yum", inplace=1)
for line in input:
    if line.startswith("#!/usr/bin/python"):
        line=line.replace("#!/usr/bin/python","#!/usr/bin/python2.6")
    print line,
input.close()
 
'''
input=open("yum")
lines=input.readlines()
input.close()

output=open("yum","w")
for line in lines:
    if not line:
        output.write(line)
    if '#!/usr/bin/python' in line:
        line=line
        output.write("#!/usr/bin/python2.6")
    else:
        output.write(line)
output.close()   
'''     
    